package com.xinsoft.mapper;

import com.xinsoft.entity.po.ScmConsumingApplyItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinsoft.entity.vo.ScmConsumingApplyItemDetailVo;
import com.xinsoft.entity.vo.ScmConsumingApplyItemVo;
import com.xinsoft.entity.vo.ScmProduceConsumingApplyItemDetailVo;
import com.xinsoft.entity.vo.ScmProduceConsumingApplyItemVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_consuming_apply_item(领用申请明细)】的数据库操作Mapper
* @createDate 2023-09-08 13:06:55
* @Entity com.xinsoft.entity.po.ScmConsumingApplyItem
*/
public interface ScmConsumingApplyItemMapper extends BaseMapper<ScmConsumingApplyItem> {
    List<ScmConsumingApplyItemVo> listByApplyId(Integer id);

    ScmConsumingApplyItemDetailVo getApplyItem(@Param("applyId") Integer applyId, @Param("materialId") Integer materialId,Integer sourceId);
}




